package com.hd.trans.network.bean;


/**
 * Author:  yang
 * Date:    2019/12/16 10:56
 * Desc:    获取AliToken返回数据
 */
public class AliTokenResponse extends DataResponse {

    private long uploadtime;//当前服务器时间，单位秒
    private long timestamp;//过期时间，单位秒
    private String tasktoken;//token


    public long getUploadtime() {
        return uploadtime;
    }

    public void setUploadtime(long uploadtime) {
        this.uploadtime = uploadtime;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public String getTasktoken() {
        return tasktoken;
    }

    public void setTasktoken(String tasktoken) {
        this.tasktoken = tasktoken;
    }

    @Override
    public String toString() {
        return "AliTokenResponse{" +
                "uploadtime=" + uploadtime +
                ", timestamp=" + timestamp +
                ", tasktoken='" + tasktoken + '\'' +
                ", code=" + code +
                ", message='" + message + '\'' +
                '}';
    }
}
